package com.li.drug.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 退货记录
 */
@Data
@TableName(value = "returngoods")
public class Returngoods implements Serializable {
    //主键
    @TableField(value = "id")
    @TableId(value = "id",type = IdType.AUTO)  //主键自增
    private Integer id;

    private String dname;
    private Integer count;
    private String reason;
    private Float total;
    private Date operatetime;

}
